package com.adv.ems.model.param;

import com.adv.ems.enums.DateTypeEnum;
import com.adv.ems.enums.SubjectTypeEnum;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Data
public class IndexEnergyTimeCompareParam {
    private DateTypeEnum dateType;
    @NotEmpty
    private Boolean aroundCompare;
    private Long subjectId;
    private SubjectTypeEnum subjectType;

    public IndexEnergyTimeCompareParam() {
        this.dateType = DateTypeEnum.month;
    }
}
